<html>
    <head>
        <title><g:layoutTitle default="Grails" /></title>
        <link rel="stylesheet" href="${resource(dir:'css',file:'main.css')}" />       
        <link rel="shortcut icon" href="${resource(dir:'images',file:'favicon.ico')}" type="image/x-icon" />
        <nav:resources/>
        <g:layoutHead />
        <g:javascript library="application" />				
    </head>
    <body>     
  	    <calendar:resources lang="es" theme="tiger"/>    
        <div id="spinner" class="spinner" style="display:none;">
            <img src="${resource(dir:'images',file:'spinner.gif')}" alt="Spinner" />
        </div>	
        <div class="logo"><img src="${resource(dir:'images',file:'cscrum_logo.jpg')}" alt="Grails" /></div>
        <g:ifAnyGranted role="ROLE_ADMINISTRATOR,ROLE_USER">        
         <div id="menu">
		  <nav:render/>
         </div>
         <div id="logout">
         	<g:link controller="logout" action="index">
         		Logout
         	</g:link>
         </div>
        </g:ifAnyGranted>
        <g:layoutBody />		
    </body>	
</html>